<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="UTF-8">
	<title>系统管理</title>
    <link th:href="@{/css/adminhome.css}" rel="stylesheet">
    <script type="text/javascript" th:src="@{/js/jquery-3.2.1.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/adminhome.js}"></script>
  <style>
    #noticeDesc{
      width: 60%;
      height: 400px;
      background-color: white;
      text-align: left;
      margin: 0 auto;
    }
    #noticeDesc p{
      font-size: 18px;
    }
    #outTime{
      margin-right: 100px;
      display: inline-block;
      float: right;
    }
  </style>
</head>
<body th:style="'background-image: url(/img/bg.jpg)' ">
<!--头部-->
  <div id="head1">
    <h1><b>管理系统</b></h1>
    <a id="exit" th:href="@{logout.do}" onclick="return window.confirm('您确定要退出登陆吗?')">退出登陆</a>
  </div>
  <div id="head2">
    <ul class="">
      <li class="management"><a th:href="@{/viewHospital}"><h2>医院管理</h2></a></li>
      <li class="management"><a th:href="@{/patientlist}"><h2>用户管理</h2></a></li>
      <li class="management"><a th:href="@{/doctorManage/listDoctor}"><h2>医生管理</h2></a></li>
      <li class="management"><a th:href="@{/rolelist}"><h2>角色管理</h2></a></li>
      <li class="management"><a th:href="@{/systemnoticelist(noticeType = 1)}"><h2>系统公告</h2></a></li>
      <li class="management"><a th:href="@{/notice/enterNotice/{pageNum}(pageNum = 1)}"><h2>医院公告</h2></a></li>
    </ul>
  </div>
  <!--身体-->
  <div id="body">
    <h1 id="home">您已进入管理系统，请谨慎操作！</h1>
    <div>
      <h1>公告：<span id="noticeName"></span></h1><br>
      <div id="noticeDesc">
        <p id="noticeDesc1"></p><br>
        <p id="outTime">发布时间：
          <span class="outTime"></span>
         <!-- <span th:if="${notice.noticeState} != null and ${#strings.trim(notice.noticeState)} eq '公开'">
               <span th:text="${#dates.format(notice.outTime,'yyyy-MM-dd hh:mm:ss')}"></span>
          </span>
          <span th:if="${notice.noticeState} != null and ${#strings.trim(notice.noticeState)} eq '未公开'">
              暂未发布
          </span>-->
        </p>
      </div>
    </div>
  </div>
  <!--尾部-->
  <div id="footer">
    <ul class="footer">
      <li><a href="http://www.nhc.gov.cn/">国家卫生健康委员会</a><span class="vertical-bar">|</span></li>
      <li><a href="http://www.cma.org.cn/">中华医学会</a><span class="vertical-bar">|</span></li>
      <li><a href="http://wsjkw.henan.gov.cn/">河南省卫生健康委员会</a></li>
    </ul>
  </div>
</body>
</html>